<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- <!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>失败日志查询</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui//themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/demo/demo.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.min.js" ></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	    
	function getData() {
		var url = "${pageContext.request.contextPath}/failreglog/checkone.do";
		var data = {phnumber:$('#phonenum').val()}
		$.post(url,data,function(res){
			var json = JSON.parse(res);
			alert(json);
			$('#tablecorp').datagrid('loadData',json)
			$('#tablecorp').datagrid('reload'); 
		})
	}
	</script>
</head>
<body> --%>
	<h2>失败日志查询</h2>
	<div>
	<input id="phonenum" type="text" />
	<input id="btnsub" type="submit" value="查询" onclick="getData()">	
	</div>
	<table id="tablecorp" class="easyui-datagrid" title=" " style="width:700px;height:250px"
			data-options="singleSelect:true,collapsible:true">
		<thead>
			<tr>
				<th data-options="field:'logid',width:80,halign:'center'">日志编号</th>
				<th data-options="field:'logtime',width:80,halign:'center'">操作时间</th>
				<th data-options="field:'operatetype',width:80,align:'right',halign:'center'">操作类型</th>
				<th data-options="field:'corpcode',width:80,align:'right',halign:'center'">集团编码</th>
				<th data-options="field:'phonenumber',width:80,halign:'center'">用户号码</th>
				<th data-options="field:'resultcode',width:200,align:'center',halign:'center'">结果码</th>
				<th data-options="field:'bosserturncode',width:80,align:'center',halign:'center'">BOSS返回码</th>
				<th data-options="field:'operatortype',width:80,align:'center',halign:'center'">操作员类型</th>
				<th data-options="field:'operatorcode',width:80,align:'center',halign:'center'">操作员账号</th>
				<th data-options="field:'operator',width:90,align:'center',halign:'center'">操作员来源</th>
				<th data-options="field:'description',width:90,align:'center',halign:'center'">描述信息</th>
				<th data-options="field:'usdpip',width:200,align:'center',halign:'center'">USDP所在机器的IP地址</th>
				<th data-options="field:'outreturncode',width:90,align:'center',halign:'center'">外部返回码</th>
			</tr>
		</thead>
	</table>

<!-- </body>
</html> -->

